package com.xu.sso.db.dao.base;

import com.xu.sso.db.model.base.ResourcesRole;
import com.xu.sso.db.model.base.ResourcesRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ResourcesRoleMapper {
    long countByExample(ResourcesRoleExample example);

    int deleteByExample(ResourcesRoleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ResourcesRole record);

    int insertSelective(ResourcesRole record);

    List<ResourcesRole> selectByExample(ResourcesRoleExample example);

    ResourcesRole selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ResourcesRole record, @Param("example") ResourcesRoleExample example);

    int updateByExample(@Param("record") ResourcesRole record, @Param("example") ResourcesRoleExample example);

    int updateByPrimaryKeySelective(ResourcesRole record);

    int updateByPrimaryKey(ResourcesRole record);
}